package com.shilei.factorymethod;

/**
 * @description: 简单交通工厂  扩展性不好
 * @author: 81271
 * @date: 2020-04-12 17:02
 */
public class SimpleVehicleFactory {

    public Car createCar () {
        return new Car();
    }

    public Plane createPlane () {
        return new Plane();
    }
}
